/** 
* All Rights Reserved , Copyright (C) 2022 , 青岛鼎信通讯股份有限公司
* 
* PmCustomerEntity
* 客户档案
* 
* 修改纪录
* 2022-01-24 版本：1.0 wudaliang 创建。
* @version 版本：1.0
* @author 作者：wudaliang</name>
* 创建日期2022-01-24</date>
*/

package com.topscomm.pm.pojo;

import java.math.BigDecimal;
import java.util.*;
import com.topscomm.pm.*;

public class PmCustomerEntity extends PmEntity
{
    private static final long serialVersionUID = 1L;
    /** TableName:客户档案	*/
    public static String tableName= "PmCustomer";
    @Override
    public String getTableName(){ return "PmCustomer";}

    /** ColumnName:客户编码		*/
    public static String FieldCode = "code";

    /** ColumnName:客户名称		*/
    public static String FieldName = "name";

    /** ColumnName:客户地址		*/
    public static String FieldAddress = "address";

    /** ColumnName:客户地址2	带省市区分隔符存储	*/
    public static String FieldAddress2 = "address2";

    /** ColumnName:客户类别		*/
    public static String FieldCategory = "category";

    /** ColumnName:搜索码		*/
    public static String FieldSearchcode = "searchcode";

    /** ColumnName:维护人姓名		*/
    public static String FieldUsername = "username";

    /** ColumnName:维护人工号		*/
    public static String FieldUsercode = "usercode";

    /** ColumnName:erp来源编码		*/
    public static String FieldErpsourcecode = "erpsourcecode";

    /** ColumnName:账期方式		*/
    public static String FieldPaymethod = "paymethod";

    /** ColumnName:账期名称		*/
    public static String FieldPayname = "payname";

    /** ColumnName:ERP编号		*/
    public static String FieldErpcode = "erpcode";

    /** ColumnName:申请公司		*/
    public static String FieldOrgname = "orgname";

    /** ColumnName:申请公司编码		*/
    public static String FieldOrgcode = "orgcode";

    /** ColumnName:申请部门		*/
    public static String FieldDeptname = "deptname";

    /** ColumnName:申请部门编码		*/
    public static String FieldDeptcode = "deptcode";

    /** ColumnName:单据日期		*/
    public static String FieldDocdate = "docdate";

    /** ColumnName:提交日期		*/
    public static String FieldSubmitdate = "submitdate";

    /** ColumnName:单据编号		*/
    public static String FieldDocno = "docno";

    /** ColumnName:审批流程		*/
    public static String FieldFlowid = "flowid";

    /** ColumnName:最新阶段		*/
    public static String FieldLatestphase = "latestphase";

    /** ColumnName:状态		*/
    public static String FieldState = "state";

    /**客户编码		*/
    private String code;

    /**客户名称		*/
    private String name;

    /**客户地址		*/
    private String address;

    /**客户地址2	带省市区分隔符存储	*/
    private String address2;

    /**客户类别		*/
    private String category;

    /**搜索码		*/
    private String searchcode;

    /**维护人姓名		*/
    private String username;

    /**维护人工号		*/
    private String usercode;

    /**erp来源编码		*/
    private String erpsourcecode;

    /**账期方式		*/
    private String paymethod;

    /**账期名称		*/
    private String payname;

    /**ERP编号		*/
    private String erpcode;

    /**申请公司		*/
    private String orgname;

    /**申请公司编码		*/
    private String orgcode;

    /**申请部门		*/
    private String deptname;

    /**申请部门编码		*/
    private String deptcode;

    /**单据日期		*/
    private Date docdate;

    /**提交日期		*/
    private Date submitdate;

    /**单据编号		*/
    private String docno;

    /**审批流程		*/
    private long flowid;

    /**最新阶段		*/
    private String latestphase;

    /**状态		*/
    private int state;

    /**
    * @return the  code:客户编码
    */
    public String getCode() {
        return this.code;
    }

    /**
    * @param code:客户编码
    */
    public void setCode(String code) {
        this.code = code;
    }

    /**
    * @return the  name:客户名称
    */
    public String getName() {
        return this.name;
    }

    /**
    * @param name:客户名称
    */
    public void setName(String name) {
        this.name = name;
    }

    /**
    * @return the  address:客户地址
    */
    public String getAddress() {
        return this.address;
    }

    /**
    * @param address:客户地址
    */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
    * @return the  address2:带省市区分隔符存储
    */
    public String getAddress2() {
        return this.address2;
    }

    /**
    * @param address2:带省市区分隔符存储
    */
    public void setAddress2(String address2) {
        this.address2 = address2;
    }

    /**
    * @return the  category:客户类别
    */
    public String getCategory() {
        return this.category;
    }

    /**
    * @param category:客户类别
    */
    public void setCategory(String category) {
        this.category = category;
    }

    /**
    * @return the  searchcode:搜索码
    */
    public String getSearchcode() {
        return this.searchcode;
    }

    /**
    * @param searchcode:搜索码
    */
    public void setSearchcode(String searchcode) {
        this.searchcode = searchcode;
    }

    /**
    * @return the  username:维护人姓名
    */
    public String getUsername() {
        return this.username;
    }

    /**
    * @param username:维护人姓名
    */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
    * @return the  usercode:维护人工号
    */
    public String getUsercode() {
        return this.usercode;
    }

    /**
    * @param usercode:维护人工号
    */
    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }

    /**
    * @return the  erpsourcecode:erp来源编码
    */
    public String getErpsourcecode() {
        return this.erpsourcecode;
    }

    /**
    * @param erpsourcecode:erp来源编码
    */
    public void setErpsourcecode(String erpsourcecode) {
        this.erpsourcecode = erpsourcecode;
    }

    /**
    * @return the  paymethod:账期方式
    */
    public String getPaymethod() {
        return this.paymethod;
    }

    /**
    * @param paymethod:账期方式
    */
    public void setPaymethod(String paymethod) {
        this.paymethod = paymethod;
    }

    /**
    * @return the  payname:账期名称
    */
    public String getPayname() {
        return this.payname;
    }

    /**
    * @param payname:账期名称
    */
    public void setPayname(String payname) {
        this.payname = payname;
    }

    /**
    * @return the  erpcode:ERP编号
    */
    public String getErpcode() {
        return this.erpcode;
    }

    /**
    * @param erpcode:ERP编号
    */
    public void setErpcode(String erpcode) {
        this.erpcode = erpcode;
    }

    /**
    * @return the  orgname:申请公司
    */
    public String getOrgname() {
        return this.orgname;
    }

    /**
    * @param orgname:申请公司
    */
    public void setOrgname(String orgname) {
        this.orgname = orgname;
    }

    /**
    * @return the  orgcode:申请公司编码
    */
    public String getOrgcode() {
        return this.orgcode;
    }

    /**
    * @param orgcode:申请公司编码
    */
    public void setOrgcode(String orgcode) {
        this.orgcode = orgcode;
    }

    /**
    * @return the  deptname:申请部门
    */
    public String getDeptname() {
        return this.deptname;
    }

    /**
    * @param deptname:申请部门
    */
    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    /**
    * @return the  deptcode:申请部门编码
    */
    public String getDeptcode() {
        return this.deptcode;
    }

    /**
    * @param deptcode:申请部门编码
    */
    public void setDeptcode(String deptcode) {
        this.deptcode = deptcode;
    }

    /**
    * @return the  docdate:单据日期
    */
    public Date getDocdate() {
        return this.docdate;
    }

    /**
    * @param docdate:单据日期
    */
    public void setDocdate(Date docdate) {
        this.docdate = docdate;
    }

    /**
    * @return the  submitdate:提交日期
    */
    public Date getSubmitdate() {
        return this.submitdate;
    }

    /**
    * @param submitdate:提交日期
    */
    public void setSubmitdate(Date submitdate) {
        this.submitdate = submitdate;
    }

    /**
    * @return the  docno:单据编号
    */
    public String getDocno() {
        return this.docno;
    }

    /**
    * @param docno:单据编号
    */
    public void setDocno(String docno) {
        this.docno = docno;
    }

    /**
    * @return the  flowid:审批流程
    */
    public long getFlowid() {
        return this.flowid;
    }

    /**
    * @param flowid:审批流程
    */
    public void setFlowid(long flowid) {
        this.flowid = flowid;
    }

    /**
    * @return the  latestphase:最新阶段
    */
    public String getLatestphase() {
        return this.latestphase;
    }

    /**
    * @param latestphase:最新阶段
    */
    public void setLatestphase(String latestphase) {
        this.latestphase = latestphase;
    }

    /**
    * @return the  state:状态
    */
    public int getState() {
        return this.state;
    }

    /**
    * @param state:状态
    */
    public void setState(int state) {
        this.state = state;
    }

}
